from forward.extend.pydantic.base import BaseSchema


class ContactSchema(BaseSchema):
    name: str | None = None
    mobile: str | None = None
    address: str | None = None
    user_id: int | None = None


class ContactOutSchema(ContactSchema):
    id: int


class ContactAddInSchema(BaseSchema):
    name: str | None = None
    mobile: str | None = None
    address: str | None = None
    user_id: int | None = None
